CourseNoticeCtrl.$inject=["$stateParams","$state"];
function CourseNoticeCtrl($stateParams,$state){
	this.courseId = $stateParams.courseId;
	console.log($stateParams.context);

	var params = {
		courseId: this.courseId,
		courseName: "微积分"
	};
	this.gotoOutline = function(){
		$state.go("^.outline",{
			context: params,
			courseId: this.courseId
		});
	}
}